package com.project.bean;

import java.util.List;

public class ProductBean {
    private  int id;
    private  String name;
    private  int price;
    private  String imgPath;
    private List<SpeakBean> speakList;

    @Override
    public String toString() {
        return "ProductBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", imgPath='" + imgPath + '\'' +
                ", speakList=" + speakList +
                "}\n";
    }

    public ProductBean(String name, int price, String imgPath, List<SpeakBean> speakList) {
        this.name = name;
        this.price = price;
        this.imgPath = imgPath;
        this.speakList = speakList;
    }

    public ProductBean() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public List<SpeakBean> getSpeakList() {
        return speakList;
    }

    public void setSpeakList(List<SpeakBean> speakList) {
        this.speakList = speakList;
    }
}
